<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible"content="IE=8"><!--以IE8模式渲染-->
    <meta http-equiv="X-UA-Compatible"content="IE=7"><!--以IE7模式渲染-->
    <meta http-equiv="X-UA-Compatible"content="IE=9; IE=8; IE=7; IE=EDGE">
    <title>员工新增</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/easyui/demo.css">
    <script type="text/javascript" src="__PUBLIC__/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/easyui/jquery.easyui.min.js"></script>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/js/jquery.alert.v1.2/jquery.alert.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/js/jquery_validate/css/validationEngine.jquery.css" >
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/css/form_table.css">
    <script type="text/javascript" src="__PUBLIC__/js/jquery_validate/js/jquery.validationEngine.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/jquery_validate/js/jquery.validationEngine-zh_CN.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/jquery.alert.v1.2/jquery.alert.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/customer/customer_edit.js"></script>
</head>

<body>
<div id="tt">
    <div title="基本信息">
        <div style="width:98%" class="form-panel">
            <div  id="form-link">
                <div class="easyui-panel" style="padding:5px;border-width: 0px;border-bottom-width: 1px;">
                    <a href="javscript:;" class="easyui-linkbutton" onclick="update_ajax_cust('../../customer/customer/customer_update_base');" iconCls="icon-save" plain="true" style="width:80px">保存</a>
                    <a href="javscript:;" class="easyui-linkbutton" onclick="validate_identity();" iconCls="icon-lock" plain="true" style="width:80px">身份验证</a>
                    <a href="javscript:;" class="easyui-linkbutton" onclick="reset();" iconCls="icon-reload" plain="true" style="width:80px">重置</a>
                    <a href="javscript:;" class="easyui-linkbutton" onclick="close_tab();" iconCls="icon-undo" plain="true" style="width:80px">关闭</a>
                </div>
            </div>
            <div class="table_main">
                <form action="../../customer/customer/customer_update_base" id="defaultForm" method="post">
                    <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
                        <tr>
                            <th width="131">名称</th>
                            <th>内容</th>
                        </tr>
                        <tr>
                            <td width="131">真实姓名：</td>
                            <td>
                                <input type="text" class="inpMain" id="cust_name" name="cust_name" placeholder="请输入真实姓名" value="" />
                            </td>
                        </tr>
                        <tr>
                            <td width="131">性别：</td>
                            <td>
                                <label for="cust_sex_1">
                                    <input type="radio" name="cust_sex" id="cust_sex_1" value="1"  checked="true">男
                                </label>
                                <label for="cust_sex_2">
                                    <input type="radio" name="cust_sex" id="cust_sex_2" value="2">女
                                </label>
                            </td>
                        </tr>
                        <tr>
                            <td width="131">手机号码：</td>
                            <td>
                                <input type="text" name="cust_phone" id="cust_phone" placeholder="请输入手机" class="inpMain validate[required,custom[phone]]" value="" />
                            </td>
                        </tr>
                        <tr>
                            <td width="131">电子邮箱：</td>
                            <td>
                                <input type="text" class="inpMain validate[custom[email]]" name="cust_email" placeholder="请输入邮箱" value="" />
                            </td>
                        </tr>
                        <tr>
                            <td width="131">身份证：</td>
                            <td>
                                <input type="text" class="inpMain" id="cust_identity" name="cust_identity" placeholder="请输入身份证" value="" />
                            </td>
                        </tr>
                    </table>
                </form>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function() {
        $('#form_id').validationEngine();
    });
</script>
</body>
</html>